$(function(){
	$('#add').click(function(){
	});
	$('#view').click(function(){
		swal({
			type:'error',
			title:'操作错误',
			text:'请选择要查看的记录',
			confirmButtonText:'确定'
		});
	});
	$('#edit').click(function(){
		swal({
			type:'error',
			title:'操作错误',
			text:'请选择要修改的记录',
			confirmButtonText:'确定'
		});
	});
	/*swal({
		type:'success',
		title:'操作成功',
		text:'添加成功',
		confirmButtonText:'确定'
	});*/
	/*swal(
			{
				title : "操作确认!",
				text : "您确认要重置当前用户的密码信息吗?",
				type : "warning",
				showCancelButton : true,
				confirmButtonColor : "#DD6B55",
				confirmButtonText : "确定",
				cancelButtonText : "取消",
				closeOnConfirm : false,
				closeOnCancel : false
			},
			function(isConfirm) {
				if (isConfirm) {
					alert('成功')
				} else {
					swal.close();
				}
			}
		);*/
});